@extends('web.layout')

@section('content')
<div class="layui-container fly-marginTop">
    <div class="fly-panel fly-panel-user" pad20>
      <div class="layui-tab layui-tab-brief" lay-filter="user">
        <ul class="layui-tab-title">
          <li class="layui-this">登录</li>
          <li><a href="{{ url('/register') }}">注册</a></li>
        </ul>
        <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
          <div class="layui-tab-item layui-show">
            <div class="layui-form layui-form-pane">
              <form method="post" action="{{ url('/login') }}">
                <input type="hidden" name="_token" value="{{ csrf_token() }}">
                <div class="layui-form-item">
                  <label for="L_mobile" class="layui-form-label"><span class="star-red">*</span> 手机号</label>
                  <div class="layui-input-inline">
                    <input type="text" id="L_mobile" name="mobile" required lay-verify="required" lay-reqtext="请输入手机号" placeholder="请输入手机号" autocomplete="off"
                      class="layui-input">
                  </div>
                </div>
                <div class="layui-form-item">
                  <label for="L_password" class="layui-form-label"><span class="star-red">*</span> 密码</label>
                  <div class="layui-input-inline">
                    <input type="password" id="L_password" name="password" required lay-verify="required" lay-reqtext="请输入密码" placeholder="请输入密码" autocomplete="off"
                      class="layui-input">
                  </div>
                </div>
                <div class="layui-form-item">
                  <button class="layui-btn" lay-filter="*" lay-submit>立即登录</button>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
@endsection